extends Control

var word:String=""
var fn={}

func _set_word():
	get_node("button/hint").text=word

func _on_button_pressed() -> void:
	global.cur_line=fn["line"]
	global.cur_index=fn["index"]
	get_tree().get_first_node_in_group("dialog")._choice_end()
